﻿namespace AntBot
{
	//Singleton for locations with no route between them
	public sealed class NoRoute : Route
	{
		// Explicit static constructor to tell C# compiler
		// not to mark type as beforefieldinit
// ReSharper disable EmptyConstructor
		static NoRoute()
		{
		}
// ReSharper restore EmptyConstructor

		public NoRoute()
		{
			NoRoute = true;
			IsShortest = true;
		}

		static readonly NoRoute mInstance = new NoRoute();
		public static NoRoute Instance
		{
			get
			{
				return mInstance;
			}
		}
	}
}
